package com.tkjt.pms.modules.scoring.model;

import java.util.ArrayList;
import java.util.List;

public class GradeViewDatagridResponseModel {

    /**
     * records : [{"indexOrgName":"燕园社区","indexOrgCode":"A01A01A01A01","scorerName":"耿明","scorerCode":"geming","m01":"150.0","m02":"100.0","m03":"100.0","m04":"100.0","m05":"100.0","m06":"100.0","m07":"100.0","m08":"100.0","m09":"100.0","m10":"100.0","m11":"100.0","m12":"0.0"},{"indexOrgName":"申园社区","indexOrgCode":"A01A01A01A03","scorerName":"耿明","scorerCode":"geming","m01":"150.0","m02":"150.0","m03":"100.0","m04":"100.0","m05":"100.0","m06":"100.0","m07":"100.0","m08":"100.0","m09":"100.0","m10":"100.0","m11":"100.0","m12":"0.0"}]
     * total : 3342
     * size : 10
     * current : 1
     * orders : []
     * searchCount : true
     * pages : 335
     */

    private int total;
    private int size;
    private int current;
    private boolean searchCount;
    private int pages;
    private List<RecordsBean> records;
    private List<?> orders;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public List<?> getOrders() {
        return orders;
    }

    public void setOrders(List<?> orders) {
        this.orders = orders;
    }

    public static class RecordsBean {
        /**
         * indexOrgName : 燕园社区
         * indexOrgCode : A01A01A01A01
         * scorerName : 耿明
         * scorerCode : geming
         * m01 : 150.0
         * m02 : 100.0
         * m03 : 100.0
         * m04 : 100.0
         * m05 : 100.0
         * m06 : 100.0
         * m07 : 100.0
         * m08 : 100.0
         * m09 : 100.0
         * m10 : 100.0
         * m11 : 100.0
         * m12 : 0.0
         */

        private String indexOrgName;
        private String indexOrgCode;
        private String scorerName;
        private String scorerCode;
        private String m01;
        private String m02;
        private String m03;
        private String m04;
        private String m05;
        private String m06;
        private String m07;
        private String m08;
        private String m09;
        private String m10;
        private String m11;
        private String m12;
        private String lastAuditYearMonth;
        //最近两个月份的得分对比信息
        private List<RecentMonthValue> recentMonths = new ArrayList<RecentMonthValue>();

        public String getIndexOrgName() {
            return indexOrgName;
        }

        public void setIndexOrgName(String indexOrgName) {
            this.indexOrgName = indexOrgName;
        }

        public String getIndexOrgCode() {
            return indexOrgCode;
        }

        public void setIndexOrgCode(String indexOrgCode) {
            this.indexOrgCode = indexOrgCode;
        }

        public String getScorerName() {
            return scorerName;
        }

        public void setScorerName(String scorerName) {
            this.scorerName = scorerName;
        }

        public String getScorerCode() {
            return scorerCode;
        }

        public void setScorerCode(String scorerCode) {
            this.scorerCode = scorerCode;
        }

        public String getM01() {
            return m01;
        }

        public void setM01(String m01) {
            this.m01 = m01;
        }

        public String getM02() {
            return m02;
        }

        public void setM02(String m02) {
            this.m02 = m02;
        }

        public String getM03() {
            return m03;
        }

        public void setM03(String m03) {
            this.m03 = m03;
        }

        public String getM04() {
            return m04;
        }

        public void setM04(String m04) {
            this.m04 = m04;
        }

        public String getM05() {
            return m05;
        }

        public void setM05(String m05) {
            this.m05 = m05;
        }

        public String getM06() {
            return m06;
        }

        public void setM06(String m06) {
            this.m06 = m06;
        }

        public String getM07() {
            return m07;
        }

        public void setM07(String m07) {
            this.m07 = m07;
        }

        public String getM08() {
            return m08;
        }

        public void setM08(String m08) {
            this.m08 = m08;
        }

        public String getM09() {
            return m09;
        }

        public void setM09(String m09) {
            this.m09 = m09;
        }

        public String getM10() {
            return m10;
        }

        public void setM10(String m10) {
            this.m10 = m10;
        }

        public String getM11() {
            return m11;
        }

        public void setM11(String m11) {
            this.m11 = m11;
        }

        public String getM12() {
            return m12;
        }

        public void setM12(String m12) {
            this.m12 = m12;
        }

        public List<RecentMonthValue> getRecentMonths() {
			return recentMonths;
		}

		public void setRecentMonths(List<RecentMonthValue> recentMonths) {
			this.recentMonths = recentMonths;
		}

        public String getLastAuditYearMonth() {
            return lastAuditYearMonth;
        }

        public void setLastAuditYearMonth(String lastAuditYearMonth) {
            this.lastAuditYearMonth = lastAuditYearMonth;
        }

        public void addRecentMonth(RecentMonthValue recentMonth) {
			if(null == this.recentMonths) {
				this.recentMonths = new ArrayList<RecentMonthValue>();
			}
			this.recentMonths.add(recentMonth);
		}
        
        public static class RecentMonthValue{
            private String name;
            private String value;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
